<?php

/**
 * 请记得打注释, 小心被小田怼
 */
Route::get('entity/tag/tags', ['as'=> 'entity.tag.tags.index', 'uses' => 'Entity\Tag\tagController@index']);
Route::post('entity/tag/tags', ['as'=> 'entity.tag.tags.store', 'uses' => 'Entity\Tag\tagController@store']);
Route::get('entity/tag/tags/create', ['as'=> 'entity.tag.tags.create', 'uses' => 'Entity\Tag\tagController@create']);
Route::put('entity/tag/tags/{tags}', ['as'=> 'entity.tag.tags.update', 'uses' => 'Entity\Tag\tagController@update']);
Route::patch('entity/tag/tags/{tags}', ['as'=> 'entity.tag.tags.update', 'uses' => 'Entity\Tag\tagController@update']);
Route::delete('entity/tag/tags/{tags}', ['as'=> 'entity.tag.tags.destroy', 'uses' => 'Entity\Tag\tagController@destroy']);
Route::get('entity/tag/tags/{tags}', ['as'=> 'entity.tag.tags.show', 'uses' => 'Entity\Tag\tagController@show']);
Route::get('entity/tag/tags/{tags}/edit', ['as'=> 'entity.tag.tags.edit', 'uses' => 'Entity\Tag\tagController@edit']);

//标签媒资列表
Route::get('entity/tag/{tags}/content/', ['as'=> 'entity.tag.tags.content', 'uses' => 'Entity\Tag\tagController@content']);

//选择标签,用于打标签
Route::get('entity/tag/selectTag', ['as'=> 'entity.tag.selectTag', 'uses' => 'Entity\Tag\tagController@selectTag']);
Route::post('entity/tag/selectTag/queryList', ['as'=> 'entity.tag.selectTag.queryList', 'uses' => 'Entity\Tag\tagController@queryList']);
